<template>
  <div class="fx-menu-item-group">
    <div class="title">
      <slot name="title">{{ title }}</slot>
    </div>
    <slot name="default"></slot>
  </div>
</template>

<script lang="ts">
import { defineComponent, PropType } from 'vue'

export default defineComponent({
  name: 'menuItemGroup',
  props: {
    title: {
      type: String as PropType<string>,
      default: ''
    }
  },
  setup () {
    return {}
  }
})
</script>
